package com.aynu.bookstore.beans;

import java.io.Serializable;

public class Orderitem implements Serializable{
    private Integer orderId;
    private Integer productId;
    private Integer buynum;
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public Integer getBuynum() {
		return buynum;
	}
	public void setBuynum(Integer buynum) {
		this.buynum = buynum;
	}
	public Orderitem(Integer orderId, Integer productId, Integer buynum) {
		super();
		this.orderId = orderId;
		this.productId = productId;
		this.buynum = buynum;
	}
	public Orderitem() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Orderitem [orderId=" + orderId + ", productId=" + productId + ", buynum=" + buynum + "]";
	}
    
    
}